// 推荐歌单：
export default class SquareTag {
  constructor({
    id,
    name,
    type,
    hot
  }) {
    this.id = id;
    this.name = name;
    this.type = type;
    this.hot = hot
  }
}

export function createSquareTag(data) {
  return new SquareTag({
    id: data.id,
    name: data.name,
    type: data.type,
    hot: data.hot
  })
}
